/* JavaFX CSS - Leave this comment until you have at least create one rule which uses -fx-Property */

root { 
    display: block;
}

.root {
	 -fx-background:transparent;
	 /*设置背景颜色渐变*/ 
	 -fx-background-color: #fce5cd;
     /*-fx-background-color: linear-gradient(to right,#00fffc,#fff600);*/  
     /*设置圆角*/  
     -fx-background-radius: 10;  
     -fx-border-radius: 10; 
     
     /*
     -fx-background-image: url("background.png");
     -fx-background-repeat: no-repeat;
     -fx-background-size:0.9;
     */
     -fx-text-alignment: center;
     -fx-alignment:center;
}

.text{
	-fx-font-size: 12px;
	-fx-text-fill: #ffffff;
}